<div id = "personal-details">
	<h4>Your Personal Details:</h4>
	<%=h(@customer.name)%><br />
	<%=h(@customer.phone)%><br />
	<%=h(@customer.city)%>
	<%=h(@customer.post_code)%><br />
	<%=h(@customer.country)%>
	<%=button_to " Edit ", :action => :checkout%>
</div>
	
<div id = "cart-list">
	<h4>Your Booking Details:</h4>
	<table>
		<tr>
			<td>
				<h5>Campground:</h5>
			</td>
			<td>
				<h5>Arrival Date:</h5>
			</td>
			<td>
				<h5>Fee:</h5>
			</td>
		</tr>
		<%for item in @cartitem%>
			<tr class="<%=cycle('list-line-odd', 'list-line-even')%>">
				<td>
					<%=item.campsite%>
				</td>
				<td>
					<%=h(item.arrival_date)%>
				</td>
				<td>
					<%=number_to_currency(item.total)%>
				</td>
			</tr>
		<%end%>
		<tr>
			<td colspan="2" align = "right">Total</td>
			<td><%=number_to_currency(@cartitem.sum {|item| item.total})%></td>
		</tr>
		<tr>
			<td><br />
				<%=button_to "Cancel", :action => :empty_cart%>
			</td>
			<td><br /></td>
			<td><br />
				<%=button_to "Confirm", :action => :save_details%>
			</td>
		</tr>
	</table>